Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for the Jest process.emit binding bug. #373

Merged
merged 2 commits into from
May 20, 2024
Merged

Workaround for the Jest process.emit binding bug. #373

merged 2 commits into from
May 20, 2024

Conversation

danfuzz
Copy link
Owner

@danfuzz danfuzz commented May 20, 2024

This PR is the result of like a day and a half of research, even though the actual effective diff is a single line, and a trivial-looking one at that! To wit:

process.emit = process.emit;

But what a difference it makes! See jestjs/jest#15077, which I filed on Jest, for the gory details.

@danfuzz danfuzz merged commit a9e2daa into main May 20, 2024
1 check passed
@danfuzz danfuzz deleted the workaround branch May 20, 2024 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant